package exercise;

public class EX02_AccountMain {

	public static void main(String[] args) {
		
		EX02_AccountService as = new EX02_AccountService();
		
//		as.menu();
		
//		as.withDrawAccount();
		
		EX02_AccountVO a = new EX02_AccountVO();
/*		avo.setBalance(3000);
		as.deposit(avo, 3000);
		as.deposit(avo, 300);
		avo.setBalance(avo.getBalance());
		System.out.println(avo.getBalance());
*/		
		as.withDraw(a, 5000);
		as.withDraw(a, 5000);
		as.deposit(a, 50000);
		a.setBalance(a.getBalance());	
		
		System.out.println(a.getBalance());

	}

}
